const app = getApp();
Page({
    data: {
     good:'place'
    },
    onReady: function (res) {

    },
    onShow:function(){
    },
    onLoad: function (options) {
    },
    onPageScroll:function(e){

    },
    onShareAppMessage: function (res) {
        if (res.from === 'button') {
            console.log(res.target)
        }
        return {
            title: 'GOODPLACE',
            path: '/pages/index/index',
            success: function (res) {
                console.log(res);
            },
            fail: function (res) {
                console.log(res);
            }
        }
    },
});
